package com.crm.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField; // 注意：这个注解通常用于Entity类，但在VO中不需要
import com.baomidou.mybatisplus.annotation.TableId;
import com.crm.domain.entity.Dept;
import com.crm.domain.entity.User;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data // Lombok注解，自动生成getter、setter、equals、hashCode和toString方法  
public class DeptVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private Integer parentId;

    private Integer deptId;

    private String deptName;

    private String description;

    private Integer orderNum;

    private Character status;

    private Date createTime;

    private Date updateTime;

    private Long createBy;

    private Long updateBy;

    private Long leaderId;

    private String remark;

    //是否删除
    private  Integer delFlag;

    //电话
    private String phone;

    //邮箱
    private String email;

    //领导姓名
    private String leader;
  
    // 祖先部门ID序列（以逗号分隔，根部门可能为空或特定值）  
    private String ancestors;
    //子部门
    private List<Dept> Children;
    //用户集合
    private List<User> users;

}